﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NHibernate;

namespace SocialLotus.DAO
{
    public class BaseDAO
    {
        internal ISession Session { get; set; }

        internal BaseDAO(ISession session)
        {
            Session = session;
        }

        public void SaveChanges()
        {
            Session.Flush();
        }
    }
}
